package com.csesteel.crm.dao;

import com.csesteel.common.dao.BaseDao;
import com.csesteel.crm.domain.User;

/**
 * Created by Administrator on 2015/4/21 0021.
 */
public interface UserDao extends BaseDao<User> {
    /**
     * 根据用户名和密码查询用户
     */
     User getUserByNameAndPassword(String name,String passwd);

    /**
     * 根据id 删除用户
     */
    void deleteUserById(String id);
}
